package com.xiao.ztree.sys.entity;

import com.xiao.ztree.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *    用户信息实体类
 * </p>
 *
 * @author XiaoCoder
 * @since 2021-04-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "User对象", description = "用户管理")
public class User extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "用户账号")
    private String username;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "头像照片")
    private String imgHead;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "个性标签")
    private String characterTags;

    @ApiModelProperty(value = "0:展示友链、1：不展示友链")
    private Integer friendLinkFlag;

    @ApiModelProperty(value = "网站名称")
    private String webName;

    @ApiModelProperty(value = "网站地址")
    private String webUrl;

    @ApiModelProperty(value = "网站简介")
    private String webInfo;

    @ApiModelProperty(value = "网站logo")
    private String webLogo;


}
